package com.daryl.mytest.service.impl;

import com.daryl.mytest.service.LoginService;
import com.daryl.mytest.vo.Account;

public class LoginServiceImpl implements LoginService {

	@Override
	public String isLogin(Account account) {
		String url = "fail";
		if("daryl".equals(account.getName()) && "123".equals(account.getPassWord())){
			url = "success";
		}
		return url;
	}

}
